def test(funcName):
    def inner(*args,**kwargs):
        print("===inner1===")
        return funcName(*args,**kwargs)
    return inner

@test
def test1():
    print("===test1==")
    return "hhhhhhhh"
@test
def test2():
    print("===test2==")

@test
def test3(a,b,c):
    print("===test3==")
    return a+b+c

ret1 = test1()
print(" test1 返回的值为%s"%ret1)

ret2 = test2()
print(" test2 返回的值为%s"%ret2)

ret3 = test3(3,4,5)
print(" test3 返回的值为%d"%ret3)



